package com.mongodb.document.test;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Document(collection = "group_test_collection")
@Data
public class GroupTestCollection implements Serializable {
    private static final long serialVersionUID = 3511020994485952255L;
    @Id
    private String id;
    private Integer x;
}
